<?php
/**
 * imagecollectivecategorydefine.php
 * Created on 2015-03-30 12:24:21
 * Create by yuebin
 */
namespace haibao\cms\model\data\imagecollective;

class ImageCollectiveCategoryDefine extends \haibao\cms\model\data\Base {

	/**
	 * 分类名
	 */
	public $CategoryName;
	/**
	 * 父ID
	 */
	public $ParentId;
	/**
	 * 创建人ID
	 */
	public $CreateBy;
	/**
	 * 创建时间
	 */
	public $CreateTime;
	/**
	 * 状态
	 */
	public $Status;
	
	public function __construct() {
		parent::__construct();
		$this->stringField ( 'CategoryName', 'CategoryName', true );
		$this->intField ( 'ParentId', 'ParentId', true );
		$this->intField ( 'CreateBy', 'CreateBy', true );
		$this->dateField ( 'CreateTime', 'CreateTime', true );
		$this->intField ( 'Status', 'Status', true );
		$this->setTableName ( 'ImageCollectiveCategoryDefine' );
	}

}